package com.atguigu.gmallsuger.service;

import com.atguigu.gmallsuger.bean.ProductStats;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;
import java.util.List;

@Service
public interface ProductStatsService {
    BigDecimal getGMV(int date);
    
    List<ProductStats> getProductStatsByTM(int date);
    
    List<ProductStats> getProductStatsBySpu(int date);
    
    List<ProductStats> getProductStatsByC3(@Param("date") int date,
                                            @Param("limit") int limit);
}
